import request from '@/utils/request'
// 登录接口
export const reqLogin = data =>
  request({
    method: 'post',
    url: '/sys/login',
    data
  })
// 获取个人基本资料的接口
export const reqGetUserInfo = () => request({
  method: 'post',
  url: '/sys/profile'
})

// 获取员工个人信息（带头像）
export const reqGetUserDetailById = id => request({
  method: 'get',
  url: `/sys/user/${id}`
})
